package com.walnut.lom_system.domain.form;

import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

/**
 * @author chenhetao
 * @version 1.0
 * @className UserLoginInfoForm
 * @description 登录传参
 * @date 2022/2/27 16:45
 */
@Data
@NoArgsConstructor
public class UserLoginInfoForm {

    private String sid;

    private String email;

    /**
     * 密码
     */
    private String password;

    /**
     * 登录方式
     * 0：密码登录
     * 1：邮箱登录
     */
    @NotNull
    private String loginType;
}
